package com.wd.amodel.fragment;

import android.view.View;

import com.wd.amodel.R;
import com.wd.amodel.fragment.life.MyLifecycleObserver;
import com.wd.base.ui.BaseFragment;

/**
 * NA<BR>
 *
 * @author w4425
 * @version [V5.9.3, 2021/7/9]
 * @since V5.9.3
 */
public class LifeCycleFragment extends BaseFragment {
    MyLifecycleObserver myLifecycleObserver;

    @Override
    protected String getLogTag() {
        return null;
    }

    @Override
    protected int getLayoutId() {
        return R.layout.fragment_lifecycle;
    }

    @Override
    protected void initView(View view) {
        getLifecycle().addObserver(myLifecycleObserver);

        myLifecycleObserver = new MyLifecycleObserver();
    }


}
